<%@ include file="includeTop.jsp" %>
<html>
<head>
<title></title>
<%@ include file="includeTop_head.jsp" %>
</head><body>
<table width="100%" align="center" style="padding:0;margin:0" border=0>
<tr><td align="center" colspan="3"><%@ include file="user_status.jsp" %></td></tr>

<tr><td align="center"><%@ include file="title.jsp" %></td>
    <td align="center"><%@ include file="cartbar.jsp" %></td>
</tr>
<tr><td align="left" colspan="3">
<table align="left" border=0>
<tr>
<td width="197" valign="top"><%@ include file="category_left.jsp" %></td>
<td valign="top" width="100%">

<!-- Product Detail Start -->
<table border=0 width="100%" id="productDetail">
<tr><th colspan="3"><c:out value="${product.name}"/></th></tr>
<tr><td id="productImg" width="300" height="300">
<table border=0>
<tr><td colspan="10"><img src="<c:out value="${product.iconUrl}" />" width="400" height="250" /></td></tr>
<tr><c:forEach var="img" items="${product.imgUrls}" varStatus="loop">
<td width="45"><img src="<c:out value="${img}" />" width="40"/></td>
</c:forEach>
<td>&nbsp;</td></tr></table>
</td>
<td width="5"></td>
<td id="productPrice" valign="top">
<form action="<c:url value="/addToCart.do"/>">
<spring:bind path="product.productId">
<input type="hidden" name="<c:out value="${status.expression}"/>" value="<c:out value="${status.value}"/>" />
</spring:bind>
<table>
<tr height="30"><td width="100" align="right">Market Price:</td><td>AU $<c:out value="${product.unitPrice}" /> </td></tr>
<tr height="30"><td class="nowPrice" align="right">Our Price:</td><td class="nowPrice">AU $<c:out value="${product.unitPriceCur}" /></td></tr>
<tr height="30"><td align="right">Quantity:</td><td><input name="quantity" size="2" value="1"></input></td><td> [ <c:out value="${product.curAmount}" /> available]</td></tr>
<tr height="30"><td></td></tr>
<tr><td colspan="2" align="center"><input alt="Add To Cart" src="<%=contextPath%>/image/pc_button_add.gif" type="image" name="add"  id="submit" onclick="form.submit()"/></td></tr>
</table>
</form>
</td>
</tr>
<tr><th id="productDetail" colspan="3" align="left">Detail</th>
</tr>
<tr><td id="content" colspan="3"><c:out value="${product.description}" escapeXml="boolean"/></td></tr>
</table>



<!-- Product Detail Stop -->

</td>
</tr>
</table>
</td></tr>
<tr><td align="center" colspan="3">
<%@ include file="includeBottom.jsp" %></td></tr>
</table>
</body>
</html>
